<template>
  <div>
    我是son组件---{{ $attrs }}
    <button @click="$listeners.fn">调用fn</button>
    <hr>
    <HmTest v-bind="$attrs" v-on="$listeners" />
    <!-- v-bind={a:1,b:2}   :a='1' :b='2'
         v-on={fn(){},fn2(){}}  @fn=...@fn2=...

    -->
  </div>
</template>
<script>
import HmTest from './HmTest.vue'
export default {
  components: {
    HmTest
  }

}
</script>
<style>
</style>
